﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using TskComment.Infra;

namespace TODOComment
{
    [Export(typeof(BaseComment))]
    public class TODO : BaseComment
    {
        public override string Title
        {
            get
            {
                return "TODO";
            }

        }

        public override string Description
        {
            get
            {
                return "";
            }

        }

        public override void Execute(DTE dte)
        {
            Selection(dte).StartOfLine();
            Selection(dte).NewLine();
            Selection(dte).LineUp();
            Selection(dte).Text = "//TODO:";
            dte.ExecuteCommand("Edit.FormatSelection");
        }
    }
}
